package cn.dankal.basiclib.pojo;

import android.text.TextUtils;

import java.io.Serializable;

import cn.dankal.basiclib.util.StringUtil;

public class UserScoresEntity implements Serializable {

    private String uuid;
    private String userUuid;
    private String used;
    private String usable;
    private String total;
    private String usedOrderCount;
    private String userScoreState;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getUserUuid() {
        return userUuid;
    }

    public void setUserUuid(String userUuid) {
        this.userUuid = userUuid;
    }

    public String getUsed() {
        return used;
    }

    public void setUsed(String used) {
        this.used = used;
    }

    public String getUsable() {
        if (TextUtils.isEmpty(usable)) {
            usable = "0";
        }
        return usable;
    }

    public void setUsable(String usable) {
        this.usable = usable;
    }

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public String getUsedOrderCount() {
        return usedOrderCount;
    }

    public void setUsedOrderCount(String usedOrderCount) {
        this.usedOrderCount = usedOrderCount;
    }

    public String getUserScoreState() {
        return userScoreState;
    }

    public void setUserScoreState(String userScoreState) {
        this.userScoreState = userScoreState;
    }
}
